package conf

import (
	"api/app/ctl/service"
	"context"
	"gitee.com/dreamwood/ez"
)

const (
	UrlPrefixAdmin = "/ctl/admin"
	UrlPrefix      = "/ctl"
)

func init() {
	ez.On("BeforeServerRun", func(v interface{}, ctx context.Context) {

		ez.Debug("初始化GateWay")
		service.InitGateWay()
	})
}
